<!-- HTML header for doxygen 1.8.8-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <!-- For Mobile Devices -->
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
        <meta name="generator" content="Doxygen 1.9.1"/>
        <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
        <title>libevdev: /home/whot/code/libevdev/release/libevdev/build.kshdg2gGMS/libevdev/libevdev.h Source File</title>
        <!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
        <script type="text/javascript" src="dynsections.js"></script>
        <link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
        <link href="doxygen.css" rel="stylesheet" type="text/css" />
        <link href="bootstrap.css" rel="stylesheet" type="text/css"/>
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
<link href="libevdevdoxygen.css" rel="stylesheet" type="text/css"/>
        <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
        <script type="text/javascript" src="doxy-boot.js"></script>
    </head>
    <body>
        <nav class="navbar navbar-default" role="navigation">
            <div class="container">
                <div class="navbar-header">
                    <a class="navbar-brand">libevdev 1.13.0</a>
                </div>
            </div>
        </nav>
        <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
            <div class="content" id="content">
                <div class="container">
                    <div class="row">
                        <div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
                            <div style="margin-bottom: 15px;">
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_237a012ffe1a208b10d31c74b4ef545e.html">libevdev</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">libevdev.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="libevdev_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/* SPDX-License-Identifier: MIT */</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * Copyright © 2013 Red Hat, Inc.</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining a copy</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * of this software and associated documentation files (the &quot;Software&quot;), to</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * deal in the Software without restriction, including without limitation the</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> * sell copies of the Software, and to permit persons to whom the Software is</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> * furnished to do so, subject to the following conditions:</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * The above copyright notice and this permission notice (including the next</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> * paragraph) shall be included in all copies or substantial portions of the</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * Software.</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> * THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> * IN THE SOFTWARE.</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#ifndef LIBEVDEV_H</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#define LIBEVDEV_H</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160; </div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#include &lt;linux/input.h&gt;</span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#include &lt;stdarg.h&gt;</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160; </div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="libevdev_8h.html#a64a0f325e88e1be50eb806e1ff75aec8">   36</a></span>&#160;<span class="preprocessor">#define LIBEVDEV_ATTRIBUTE_PRINTF(_format, _args) __attribute__ ((format (printf, _format, _args)))</span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160; </div>
<div class="line"><a name="l00755"></a><span class="lineno">  755</span>&#160;<span class="keyword">struct </span>libevdev;</div>
<div class="line"><a name="l00756"></a><span class="lineno">  756</span>&#160; </div>
<div class="line"><a name="l00760"></a><span class="lineno"><a class="line" href="group__events.html#ga56c288d9f2e4c1632986c4e218c494e9">  760</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="group__events.html#ga56c288d9f2e4c1632986c4e218c494e9">libevdev_read_flag</a> {</div>
<div class="line"><a name="l00761"></a><span class="lineno"><a class="line" href="group__events.html#gga56c288d9f2e4c1632986c4e218c494e9a1f13a19641d6dafcf01a86a6389800f8">  761</a></span>&#160;        <a class="code" href="group__events.html#gga56c288d9f2e4c1632986c4e218c494e9a1f13a19641d6dafcf01a86a6389800f8">LIBEVDEV_READ_FLAG_SYNC</a>         = 1, </div>
<div class="line"><a name="l00762"></a><span class="lineno"><a class="line" href="group__events.html#gga56c288d9f2e4c1632986c4e218c494e9ac0d6ee19551eecf76f1ede4f36252418">  762</a></span>&#160;        <a class="code" href="group__events.html#gga56c288d9f2e4c1632986c4e218c494e9ac0d6ee19551eecf76f1ede4f36252418">LIBEVDEV_READ_FLAG_NORMAL</a>       = 2, </div>
<div class="line"><a name="l00763"></a><span class="lineno">  763</span>&#160;        <a class="code" href="group__events.html#gga56c288d9f2e4c1632986c4e218c494e9a5198e5c9cc98b75f73f61b104d6a674c">LIBEVDEV_READ_FLAG_FORCE_SYNC</a>   = 4, </div>
<div class="line"><a name="l00765"></a><span class="lineno">  765</span>&#160;        <a class="code" href="group__events.html#gga56c288d9f2e4c1632986c4e218c494e9a0a348d44362a7e515b40a4ed4d528e19">LIBEVDEV_READ_FLAG_BLOCKING</a>     = 8  </div>
<div class="line"><a name="l00766"></a><span class="lineno"><a class="line" href="group__events.html#gga56c288d9f2e4c1632986c4e218c494e9a0a348d44362a7e515b40a4ed4d528e19">  766</a></span>&#160;};</div>
<div class="line"><a name="l00767"></a><span class="lineno">  767</span>&#160; </div>
<div class="line"><a name="l00782"></a><span class="lineno"><a class="line" href="group__init.html#ga332c8ee260b4ef864345abe5d04e820c">  782</a></span>&#160;<span class="keyword">struct </span>libevdev* <a class="code" href="group__init.html#ga332c8ee260b4ef864345abe5d04e820c">libevdev_new</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00783"></a><span class="lineno">  783</span>&#160; </div>
<div class="line"><a name="l00806"></a><span class="lineno"><a class="line" href="group__init.html#ga89bb5bce1c23e293293484b05b12aaf4">  806</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__init.html#ga89bb5bce1c23e293293484b05b12aaf4">libevdev_new_from_fd</a>(<span class="keywordtype">int</span> fd, <span class="keyword">struct</span> libevdev **dev);</div>
<div class="line"><a name="l00807"></a><span class="lineno">  807</span>&#160; </div>
<div class="line"><a name="l00821"></a><span class="lineno"><a class="line" href="group__init.html#gacd9fe760d15be25fc99ce469034bd78c">  821</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__init.html#gacd9fe760d15be25fc99ce469034bd78c">libevdev_free</a>(<span class="keyword">struct</span> libevdev *dev);</div>
<div class="line"><a name="l00822"></a><span class="lineno">  822</span>&#160; </div>
<div class="line"><a name="l00826"></a><span class="lineno"><a class="line" href="group__logging.html#ga0b798d0864f2b1b10e4603f9431b3364">  826</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="group__logging.html#ga0b798d0864f2b1b10e4603f9431b3364">libevdev_log_priority</a> {</div>
<div class="line"><a name="l00827"></a><span class="lineno"><a class="line" href="group__logging.html#gga0b798d0864f2b1b10e4603f9431b3364a21fd1083f2ebd0a25f09ee982e365d5f">  827</a></span>&#160;        <a class="code" href="group__logging.html#gga0b798d0864f2b1b10e4603f9431b3364a21fd1083f2ebd0a25f09ee982e365d5f">LIBEVDEV_LOG_ERROR</a> = 10,        </div>
<div class="line"><a name="l00828"></a><span class="lineno"><a class="line" href="group__logging.html#gga0b798d0864f2b1b10e4603f9431b3364a4d13a031b112292ca3e7bab8c6d76abc">  828</a></span>&#160;        <a class="code" href="group__logging.html#gga0b798d0864f2b1b10e4603f9431b3364a4d13a031b112292ca3e7bab8c6d76abc">LIBEVDEV_LOG_INFO</a>  = 20,        </div>
<div class="line"><a name="l00829"></a><span class="lineno">  829</span>&#160;        <a class="code" href="group__logging.html#gga0b798d0864f2b1b10e4603f9431b3364a760d66d422ffcf89b0f1ddb529b95793">LIBEVDEV_LOG_DEBUG</a> = 30         </div>
<div class="line"><a name="l00830"></a><span class="lineno"><a class="line" href="group__logging.html#gga0b798d0864f2b1b10e4603f9431b3364a760d66d422ffcf89b0f1ddb529b95793">  830</a></span>&#160;};</div>
<div class="line"><a name="l00831"></a><span class="lineno">  831</span>&#160; </div>
<div class="line"><a name="l00848"></a><span class="lineno"><a class="line" href="group__logging.html#gaf36c721d273c0794251eb7dacea2f0a4">  848</a></span>&#160;<span class="keyword">typedef</span> void (*<a class="code" href="group__logging.html#gaf36c721d273c0794251eb7dacea2f0a4">libevdev_log_func_t</a>)(<span class="keyword">enum</span> <a class="code" href="group__logging.html#ga0b798d0864f2b1b10e4603f9431b3364">libevdev_log_priority</a> priority,</div>
<div class="line"><a name="l00849"></a><span class="lineno">  849</span>&#160;                                    <span class="keywordtype">void</span> *data,</div>
<div class="line"><a name="l00850"></a><span class="lineno">  850</span>&#160;                                    <span class="keyword">const</span> <span class="keywordtype">char</span> *file, <span class="keywordtype">int</span> line,</div>
<div class="line"><a name="l00851"></a><span class="lineno">  851</span>&#160;                                    <span class="keyword">const</span> <span class="keywordtype">char</span> *func,</div>
<div class="line"><a name="l00852"></a><span class="lineno">  852</span>&#160;                                    <span class="keyword">const</span> <span class="keywordtype">char</span> *format, va_list args)</div>
<div class="line"><a name="l00853"></a><span class="lineno">  853</span>&#160;        <a class="code" href="libevdev_8h.html#a64a0f325e88e1be50eb806e1ff75aec8">LIBEVDEV_ATTRIBUTE_PRINTF</a>(6, 0);</div>
<div class="line"><a name="l00854"></a><span class="lineno">  854</span>&#160; </div>
<div class="line"><a name="l00873"></a><span class="lineno"><a class="line" href="group__logging.html#gaa60be86b83b3a6c82d8e536ba89ff955">  873</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__logging.html#gaa60be86b83b3a6c82d8e536ba89ff955">libevdev_set_log_function</a>(<a class="code" href="group__logging.html#gaf36c721d273c0794251eb7dacea2f0a4">libevdev_log_func_t</a> logfunc, <span class="keywordtype">void</span> *data);</div>
<div class="line"><a name="l00874"></a><span class="lineno">  874</span>&#160; </div>
<div class="line"><a name="l00887"></a><span class="lineno"><a class="line" href="group__logging.html#ga1da07493a798595cf85c127490b98ee8">  887</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__logging.html#gaf6b6842a9ed98b61d0abb421e853fd89">libevdev_set_log_priority</a>(<span class="keyword">enum</span> <a class="code" href="group__logging.html#ga0b798d0864f2b1b10e4603f9431b3364">libevdev_log_priority</a> priority);</div>
<div class="line"><a name="l00888"></a><span class="lineno">  888</span>&#160; </div>
<div class="line"><a name="l00900"></a><span class="lineno">  900</span>&#160;<span class="keyword">enum</span> <a class="code" href="group__logging.html#ga0b798d0864f2b1b10e4603f9431b3364">libevdev_log_priority</a> <a class="code" href="group__logging.html#ga1da07493a798595cf85c127490b98ee8">libevdev_get_log_priority</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00901"></a><span class="lineno">  901</span>&#160; </div>
<div class="line"><a name="l00921"></a><span class="lineno"><a class="line" href="group__logging.html#gab7eb997be2b701cc6f42e7b4c3478269">  921</a></span>&#160;<span class="keyword">typedef</span> void (*<a class="code" href="group__logging.html#gab7eb997be2b701cc6f42e7b4c3478269">libevdev_device_log_func_t</a>)(<span class="keyword">const</span> <span class="keyword">struct </span>libevdev *dev,</div>
<div class="line"><a name="l00922"></a><span class="lineno">  922</span>&#160;                                           <span class="keyword">enum</span> <a class="code" href="group__logging.html#ga0b798d0864f2b1b10e4603f9431b3364">libevdev_log_priority</a> priority,</div>
<div class="line"><a name="l00923"></a><span class="lineno">  923</span>&#160;                                           <span class="keywordtype">void</span> *data,</div>
<div class="line"><a name="l00924"></a><span class="lineno">  924</span>&#160;                                           <span class="keyword">const</span> <span class="keywordtype">char</span> *file, <span class="keywordtype">int</span> line,</div>
<div class="line"><a name="l00925"></a><span class="lineno">  925</span>&#160;                                           <span class="keyword">const</span> <span class="keywordtype">char</span> *func,</div>
<div class="line"><a name="l00926"></a><span class="lineno">  926</span>&#160;                                           <span class="keyword">const</span> <span class="keywordtype">char</span> *format, va_list args)</div>
<div class="line"><a name="l00927"></a><span class="lineno">  927</span>&#160;        <a class="code" href="libevdev_8h.html#a64a0f325e88e1be50eb806e1ff75aec8">LIBEVDEV_ATTRIBUTE_PRINTF</a>(7, 0);</div>
<div class="line"><a name="l00928"></a><span class="lineno">  928</span>&#160; </div>
<div class="line"><a name="l00950"></a><span class="lineno"><a class="line" href="group__logging.html#ga2830ff0aa391d8d1111682d3e762091b">  950</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__logging.html#ga2830ff0aa391d8d1111682d3e762091b">libevdev_set_device_log_function</a>(<span class="keyword">struct</span> libevdev *dev,</div>
<div class="line"><a name="l00951"></a><span class="lineno">  951</span>&#160;                                      <a class="code" href="group__logging.html#gab7eb997be2b701cc6f42e7b4c3478269">libevdev_device_log_func_t</a> logfunc,</div>
<div class="line"><a name="l00952"></a><span class="lineno">  952</span>&#160;                                      <span class="keyword">enum</span> <a class="code" href="group__logging.html#ga0b798d0864f2b1b10e4603f9431b3364">libevdev_log_priority</a> priority,</div>
<div class="line"><a name="l00953"></a><span class="lineno">  953</span>&#160;                                      <span class="keywordtype">void</span> *data);</div>
<div class="line"><a name="l00954"></a><span class="lineno">  954</span>&#160; </div>
<div class="line"><a name="l00958"></a><span class="lineno"><a class="line" href="group__init.html#gaa282ec9badaa6bc11b1dc5bb124dbd5b">  958</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="group__init.html#gaa282ec9badaa6bc11b1dc5bb124dbd5b">libevdev_grab_mode</a> {</div>
<div class="line"><a name="l00959"></a><span class="lineno"><a class="line" href="group__init.html#ggaa282ec9badaa6bc11b1dc5bb124dbd5bad3ac6f5f3ebf7d38a6aad74a88396c88">  959</a></span>&#160;        <a class="code" href="group__init.html#ggaa282ec9badaa6bc11b1dc5bb124dbd5bad3ac6f5f3ebf7d38a6aad74a88396c88">LIBEVDEV_GRAB</a> = 3,      </div>
<div class="line"><a name="l00960"></a><span class="lineno">  960</span>&#160;        <a class="code" href="group__init.html#ggaa282ec9badaa6bc11b1dc5bb124dbd5ba6c0930d0c280753504cd05ebdcda09eb">LIBEVDEV_UNGRAB</a> = 4     </div>
<div class="line"><a name="l00961"></a><span class="lineno"><a class="line" href="group__init.html#ggaa282ec9badaa6bc11b1dc5bb124dbd5ba6c0930d0c280753504cd05ebdcda09eb">  961</a></span>&#160;};</div>
<div class="line"><a name="l00962"></a><span class="lineno">  962</span>&#160; </div>
<div class="line"><a name="l00985"></a><span class="lineno"><a class="line" href="group__init.html#ga5d434af74fee20f273db568e2cbbd13f">  985</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__init.html#ga5d434af74fee20f273db568e2cbbd13f">libevdev_grab</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keyword">enum</span> <a class="code" href="group__init.html#gaa282ec9badaa6bc11b1dc5bb124dbd5b">libevdev_grab_mode</a> grab);</div>
<div class="line"><a name="l00986"></a><span class="lineno">  986</span>&#160; </div>
<div class="line"><a name="l01019"></a><span class="lineno"><a class="line" href="group__init.html#ga6658ac490d68c307ff8b8d1536c12b44"> 1019</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__init.html#ga6658ac490d68c307ff8b8d1536c12b44">libevdev_set_fd</a>(<span class="keyword">struct</span> libevdev* dev, <span class="keywordtype">int</span> fd);</div>
<div class="line"><a name="l01020"></a><span class="lineno"> 1020</span>&#160; </div>
<div class="line"><a name="l01059"></a><span class="lineno"><a class="line" href="group__init.html#gac71c9cca4c572ed1b1a8c233be70a17c"> 1059</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__init.html#gac71c9cca4c572ed1b1a8c233be70a17c">libevdev_change_fd</a>(<span class="keyword">struct</span> libevdev* dev, <span class="keywordtype">int</span> fd);</div>
<div class="line"><a name="l01060"></a><span class="lineno"> 1060</span>&#160; </div>
<div class="line"><a name="l01069"></a><span class="lineno"><a class="line" href="group__init.html#gab9bfc800859ac3aa63f41d58ec4b616c"> 1069</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__init.html#gab9bfc800859ac3aa63f41d58ec4b616c">libevdev_get_fd</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev* dev);</div>
<div class="line"><a name="l01070"></a><span class="lineno"> 1070</span>&#160; </div>
<div class="line"><a name="l01074"></a><span class="lineno"><a class="line" href="group__events.html#ga4a96221b3c7f54dfb86035d952154e3a"> 1074</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="group__events.html#ga4a96221b3c7f54dfb86035d952154e3a">libevdev_read_status</a> {</div>
<div class="line"><a name="l01081"></a><span class="lineno"><a class="line" href="group__events.html#gga4a96221b3c7f54dfb86035d952154e3aab053221fc1c9630eee7111b75aa0aec7"> 1081</a></span>&#160;        <a class="code" href="group__events.html#gga4a96221b3c7f54dfb86035d952154e3aab053221fc1c9630eee7111b75aa0aec7">LIBEVDEV_READ_STATUS_SUCCESS</a> = 0,</div>
<div class="line"><a name="l01090"></a><span class="lineno"> 1090</span>&#160;        <a class="code" href="group__events.html#gga4a96221b3c7f54dfb86035d952154e3aa8d70b14a38204fde4ad433023baa545a">LIBEVDEV_READ_STATUS_SYNC</a> = 1</div>
<div class="line"><a name="l01091"></a><span class="lineno"><a class="line" href="group__events.html#gga4a96221b3c7f54dfb86035d952154e3aa8d70b14a38204fde4ad433023baa545a"> 1091</a></span>&#160;};</div>
<div class="line"><a name="l01092"></a><span class="lineno"> 1092</span>&#160; </div>
<div class="line"><a name="l01143"></a><span class="lineno"><a class="line" href="group__events.html#gabb96c864e836c0b98788f4ab771c3a76"> 1143</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__events.html#gabb96c864e836c0b98788f4ab771c3a76">libevdev_next_event</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> flags, <span class="keyword">struct</span> input_event *ev);</div>
<div class="line"><a name="l01144"></a><span class="lineno"> 1144</span>&#160; </div>
<div class="line"><a name="l01167"></a><span class="lineno"><a class="line" href="group__events.html#gae18fbfb59064c9c4b9d5db2d8cb23784"> 1167</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__events.html#gae18fbfb59064c9c4b9d5db2d8cb23784">libevdev_has_event_pending</a>(<span class="keyword">struct</span> libevdev *dev);</div>
<div class="line"><a name="l01168"></a><span class="lineno"> 1168</span>&#160; </div>
<div class="line"><a name="l01183"></a><span class="lineno"><a class="line" href="group__bits.html#gaed0328c67b7a78422636d9fe09a73f12"> 1183</a></span>&#160;<span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="group__bits.html#gaed0328c67b7a78422636d9fe09a73f12">libevdev_get_name</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev);</div>
<div class="line"><a name="l01184"></a><span class="lineno"> 1184</span>&#160; </div>
<div class="line"><a name="l01198"></a><span class="lineno"><a class="line" href="group__kernel.html#gae5dcdb7678cdc9be4ab1989725b4ed32"> 1198</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__kernel.html#gae5dcdb7678cdc9be4ab1989725b4ed32">libevdev_set_name</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div>
<div class="line"><a name="l01199"></a><span class="lineno"> 1199</span>&#160; </div>
<div class="line"><a name="l01215"></a><span class="lineno"><a class="line" href="group__bits.html#ga5df483b0b24d7b96ea1181808fab851d"> 1215</a></span>&#160;<span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="group__bits.html#ga5df483b0b24d7b96ea1181808fab851d">libevdev_get_phys</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev);</div>
<div class="line"><a name="l01216"></a><span class="lineno"> 1216</span>&#160; </div>
<div class="line"><a name="l01230"></a><span class="lineno"><a class="line" href="group__kernel.html#gacd57c8d6ace8e0b1417809a9c1c67af3"> 1230</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__kernel.html#gacd57c8d6ace8e0b1417809a9c1c67af3">libevdev_set_phys</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keyword">const</span> <span class="keywordtype">char</span> *phys);</div>
<div class="line"><a name="l01231"></a><span class="lineno"> 1231</span>&#160; </div>
<div class="line"><a name="l01245"></a><span class="lineno"><a class="line" href="group__bits.html#ga6d9f7d44bff8828ead3d251177035ca4"> 1245</a></span>&#160;<span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="group__bits.html#ga6d9f7d44bff8828ead3d251177035ca4">libevdev_get_uniq</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev);</div>
<div class="line"><a name="l01246"></a><span class="lineno"> 1246</span>&#160; </div>
<div class="line"><a name="l01260"></a><span class="lineno"><a class="line" href="group__kernel.html#ga4e4fd2627744fd5811c50c7403f27ad7"> 1260</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__kernel.html#ga4e4fd2627744fd5811c50c7403f27ad7">libevdev_set_uniq</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keyword">const</span> <span class="keywordtype">char</span> *uniq);</div>
<div class="line"><a name="l01261"></a><span class="lineno"> 1261</span>&#160; </div>
<div class="line"><a name="l01271"></a><span class="lineno"><a class="line" href="group__bits.html#ga1dc66cfef646878d58be72f8902a6bac"> 1271</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__bits.html#ga1dc66cfef646878d58be72f8902a6bac">libevdev_get_id_product</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev);</div>
<div class="line"><a name="l01272"></a><span class="lineno"> 1272</span>&#160; </div>
<div class="line"><a name="l01284"></a><span class="lineno"><a class="line" href="group__kernel.html#ga62fbdaac056ab5c3db154a9eeaf33799"> 1284</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__kernel.html#ga62fbdaac056ab5c3db154a9eeaf33799">libevdev_set_id_product</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">int</span> product_id);</div>
<div class="line"><a name="l01285"></a><span class="lineno"> 1285</span>&#160; </div>
<div class="line"><a name="l01295"></a><span class="lineno"><a class="line" href="group__bits.html#ga08891c3285da5b8d26769c9a34f063f3"> 1295</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__bits.html#ga08891c3285da5b8d26769c9a34f063f3">libevdev_get_id_vendor</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev);</div>
<div class="line"><a name="l01296"></a><span class="lineno"> 1296</span>&#160; </div>
<div class="line"><a name="l01308"></a><span class="lineno"><a class="line" href="group__kernel.html#ga8ce28051ebbb73de1d04d782f4d0d6fe"> 1308</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__kernel.html#ga8ce28051ebbb73de1d04d782f4d0d6fe">libevdev_set_id_vendor</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">int</span> vendor_id);</div>
<div class="line"><a name="l01309"></a><span class="lineno"> 1309</span>&#160; </div>
<div class="line"><a name="l01319"></a><span class="lineno"><a class="line" href="group__bits.html#ga9bf55d416401642bad0c435735682308"> 1319</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__bits.html#ga9bf55d416401642bad0c435735682308">libevdev_get_id_bustype</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev);</div>
<div class="line"><a name="l01320"></a><span class="lineno"> 1320</span>&#160; </div>
<div class="line"><a name="l01332"></a><span class="lineno"><a class="line" href="group__kernel.html#gaf99139c728ba1bd4b37ede612780b6b0"> 1332</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__kernel.html#gaf99139c728ba1bd4b37ede612780b6b0">libevdev_set_id_bustype</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">int</span> bustype);</div>
<div class="line"><a name="l01333"></a><span class="lineno"> 1333</span>&#160; </div>
<div class="line"><a name="l01343"></a><span class="lineno"><a class="line" href="group__bits.html#ga75a07d0c96dfe09d2194c104c429d0ae"> 1343</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__bits.html#ga75a07d0c96dfe09d2194c104c429d0ae">libevdev_get_id_version</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev);</div>
<div class="line"><a name="l01344"></a><span class="lineno"> 1344</span>&#160; </div>
<div class="line"><a name="l01356"></a><span class="lineno"><a class="line" href="group__kernel.html#gaee1d2db88b191ec21d5bf22dd4fe3055"> 1356</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__kernel.html#gaee1d2db88b191ec21d5bf22dd4fe3055">libevdev_set_id_version</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">int</span> version);</div>
<div class="line"><a name="l01357"></a><span class="lineno"> 1357</span>&#160; </div>
<div class="line"><a name="l01367"></a><span class="lineno"><a class="line" href="group__bits.html#ga31e9e7a99215a03bcdc339b53e1be2fa"> 1367</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__bits.html#ga31e9e7a99215a03bcdc339b53e1be2fa">libevdev_get_driver_version</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev);</div>
<div class="line"><a name="l01368"></a><span class="lineno"> 1368</span>&#160; </div>
<div class="line"><a name="l01379"></a><span class="lineno"><a class="line" href="group__bits.html#ga36d529ea53f4522004bc7d16c051464b"> 1379</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__bits.html#ga36d529ea53f4522004bc7d16c051464b">libevdev_has_property</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> prop);</div>
<div class="line"><a name="l01380"></a><span class="lineno"> 1380</span>&#160; </div>
<div class="line"><a name="l01392"></a><span class="lineno"><a class="line" href="group__kernel.html#gafc552080520c9d886452b05f3a1d75b6"> 1392</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__kernel.html#gafc552080520c9d886452b05f3a1d75b6">libevdev_enable_property</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> prop);</div>
<div class="line"><a name="l01393"></a><span class="lineno"> 1393</span>&#160; </div>
<div class="line"><a name="l01402"></a><span class="lineno"><a class="line" href="group__kernel.html#ga8f6367c36331c803ad69b2591e210019"> 1402</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__kernel.html#ga8f6367c36331c803ad69b2591e210019">libevdev_disable_property</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> prop);</div>
<div class="line"><a name="l01403"></a><span class="lineno"> 1403</span>&#160; </div>
<div class="line"><a name="l01414"></a><span class="lineno"><a class="line" href="group__bits.html#ga398bef155fa4a0cfb832de30723ebd14"> 1414</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__bits.html#ga398bef155fa4a0cfb832de30723ebd14">libevdev_has_event_type</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type);</div>
<div class="line"><a name="l01415"></a><span class="lineno"> 1415</span>&#160; </div>
<div class="line"><a name="l01427"></a><span class="lineno"><a class="line" href="group__bits.html#gab2ab9dad417f33daa79fa0c3d682df0b"> 1427</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__bits.html#gab2ab9dad417f33daa79fa0c3d682df0b">libevdev_has_event_code</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code);</div>
<div class="line"><a name="l01428"></a><span class="lineno"> 1428</span>&#160; </div>
<div class="line"><a name="l01441"></a><span class="lineno"><a class="line" href="group__bits.html#ga482ce989a3f62f7e67e4ea7ad534189e"> 1441</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__bits.html#ga482ce989a3f62f7e67e4ea7ad534189e">libevdev_get_abs_minimum</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code);</div>
<div class="line"><a name="l01442"></a><span class="lineno"> 1442</span>&#160; </div>
<div class="line"><a name="l01455"></a><span class="lineno"><a class="line" href="group__bits.html#ga97a3411ae85f1f3b5c5eb1d5351b11ca"> 1455</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__bits.html#ga97a3411ae85f1f3b5c5eb1d5351b11ca">libevdev_get_abs_maximum</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code);</div>
<div class="line"><a name="l01456"></a><span class="lineno"> 1456</span>&#160; </div>
<div class="line"><a name="l01469"></a><span class="lineno"><a class="line" href="group__bits.html#ga1a3dfeb3bb2db0b4323c836c7ab10f1a"> 1469</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__bits.html#ga1a3dfeb3bb2db0b4323c836c7ab10f1a">libevdev_get_abs_fuzz</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code);</div>
<div class="line"><a name="l01470"></a><span class="lineno"> 1470</span>&#160; </div>
<div class="line"><a name="l01483"></a><span class="lineno"><a class="line" href="group__bits.html#ga6b3f7ebae2324524dc41384acd724b92"> 1483</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__bits.html#ga6b3f7ebae2324524dc41384acd724b92">libevdev_get_abs_flat</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code);</div>
<div class="line"><a name="l01484"></a><span class="lineno"> 1484</span>&#160; </div>
<div class="line"><a name="l01497"></a><span class="lineno"><a class="line" href="group__bits.html#ga75751e637a845201b6d1c419ecfa6ba4"> 1497</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__bits.html#ga75751e637a845201b6d1c419ecfa6ba4">libevdev_get_abs_resolution</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code);</div>
<div class="line"><a name="l01498"></a><span class="lineno"> 1498</span>&#160; </div>
<div class="line"><a name="l01512"></a><span class="lineno"><a class="line" href="group__bits.html#ga6d8e2caf87fa536fad979346671838d7"> 1512</a></span>&#160;<span class="keyword">const</span> <span class="keyword">struct </span>input_absinfo* <a class="code" href="group__bits.html#ga6d8e2caf87fa536fad979346671838d7">libevdev_get_abs_info</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code);</div>
<div class="line"><a name="l01513"></a><span class="lineno"> 1513</span>&#160; </div>
<div class="line"><a name="l01535"></a><span class="lineno"><a class="line" href="group__bits.html#ga6259f4c6bdba950329ff9cd48c2ef8a3"> 1535</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__bits.html#ga6259f4c6bdba950329ff9cd48c2ef8a3">libevdev_get_event_value</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code);</div>
<div class="line"><a name="l01536"></a><span class="lineno"> 1536</span>&#160; </div>
<div class="line"><a name="l01571"></a><span class="lineno"><a class="line" href="group__kernel.html#ga79e82ee2a95cb08adb4172aabe0c7184"> 1571</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__kernel.html#ga79e82ee2a95cb08adb4172aabe0c7184">libevdev_set_event_value</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code, <span class="keywordtype">int</span> value);</div>
<div class="line"><a name="l01572"></a><span class="lineno"> 1572</span>&#160; </div>
<div class="line"><a name="l01598"></a><span class="lineno"><a class="line" href="group__bits.html#ga0a7be80d769294bf9758adf79c3c7147"> 1598</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__bits.html#ga0a7be80d769294bf9758adf79c3c7147">libevdev_fetch_event_value</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code, <span class="keywordtype">int</span> *value);</div>
<div class="line"><a name="l01599"></a><span class="lineno"> 1599</span>&#160; </div>
<div class="line"><a name="l01620"></a><span class="lineno"><a class="line" href="group__mt.html#ga8c6303391cb4f90b2d46763cf4eb8bc8"> 1620</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__mt.html#ga8c6303391cb4f90b2d46763cf4eb8bc8">libevdev_get_slot_value</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> slot, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code);</div>
<div class="line"><a name="l01621"></a><span class="lineno"> 1621</span>&#160; </div>
<div class="line"><a name="l01650"></a><span class="lineno"><a class="line" href="group__kernel.html#ga0c61f4919b03b0850529a50c37a20333"> 1650</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__kernel.html#ga0c61f4919b03b0850529a50c37a20333">libevdev_set_slot_value</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> slot, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code, <span class="keywordtype">int</span> value);</div>
<div class="line"><a name="l01651"></a><span class="lineno"> 1651</span>&#160; </div>
<div class="line"><a name="l01677"></a><span class="lineno"><a class="line" href="group__mt.html#gaca19dca5aa8f0ea3b210f3fc670384ec"> 1677</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__mt.html#gaca19dca5aa8f0ea3b210f3fc670384ec">libevdev_fetch_slot_value</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> slot, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code, <span class="keywordtype">int</span> *value);</div>
<div class="line"><a name="l01678"></a><span class="lineno"> 1678</span>&#160; </div>
<div class="line"><a name="l01692"></a><span class="lineno"><a class="line" href="group__mt.html#gaf272526f0a59d2f61ef7389046cd4088"> 1692</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__mt.html#gaf272526f0a59d2f61ef7389046cd4088">libevdev_get_num_slots</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev);</div>
<div class="line"><a name="l01693"></a><span class="lineno"> 1693</span>&#160; </div>
<div class="line"><a name="l01709"></a><span class="lineno"><a class="line" href="group__mt.html#gad22e2420be668b56ef486cde2e98c5dd"> 1709</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__mt.html#gad22e2420be668b56ef486cde2e98c5dd">libevdev_get_current_slot</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev);</div>
<div class="line"><a name="l01710"></a><span class="lineno"> 1710</span>&#160; </div>
<div class="line"><a name="l01722"></a><span class="lineno"><a class="line" href="group__kernel.html#gaca62172c2a823cd02eacf0d2292d917a"> 1722</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__kernel.html#gaca62172c2a823cd02eacf0d2292d917a">libevdev_set_abs_minimum</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code, <span class="keywordtype">int</span> val);</div>
<div class="line"><a name="l01723"></a><span class="lineno"> 1723</span>&#160; </div>
<div class="line"><a name="l01735"></a><span class="lineno"><a class="line" href="group__kernel.html#ga2302fd9a491d8e27280157d67a703af6"> 1735</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__kernel.html#ga2302fd9a491d8e27280157d67a703af6">libevdev_set_abs_maximum</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code, <span class="keywordtype">int</span> val);</div>
<div class="line"><a name="l01736"></a><span class="lineno"> 1736</span>&#160; </div>
<div class="line"><a name="l01748"></a><span class="lineno"><a class="line" href="group__kernel.html#gaa192bf0c68620be819337da6ec361c21"> 1748</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__kernel.html#gaa192bf0c68620be819337da6ec361c21">libevdev_set_abs_fuzz</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code, <span class="keywordtype">int</span> val);</div>
<div class="line"><a name="l01749"></a><span class="lineno"> 1749</span>&#160; </div>
<div class="line"><a name="l01761"></a><span class="lineno"><a class="line" href="group__kernel.html#gabd309f30744a49e9391250b00ba2d67a"> 1761</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__kernel.html#gabd309f30744a49e9391250b00ba2d67a">libevdev_set_abs_flat</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code, <span class="keywordtype">int</span> val);</div>
<div class="line"><a name="l01762"></a><span class="lineno"> 1762</span>&#160; </div>
<div class="line"><a name="l01774"></a><span class="lineno"><a class="line" href="group__kernel.html#ga2266b59711cdaa4fc12fa56c9313a038"> 1774</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__kernel.html#ga2266b59711cdaa4fc12fa56c9313a038">libevdev_set_abs_resolution</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code, <span class="keywordtype">int</span> val);</div>
<div class="line"><a name="l01775"></a><span class="lineno"> 1775</span>&#160; </div>
<div class="line"><a name="l01787"></a><span class="lineno"><a class="line" href="group__kernel.html#gafc7a4f5308e2dbf55f875630b8dca049"> 1787</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__kernel.html#gafc7a4f5308e2dbf55f875630b8dca049">libevdev_set_abs_info</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code, <span class="keyword">const</span> <span class="keyword">struct</span> input_absinfo *abs);</div>
<div class="line"><a name="l01788"></a><span class="lineno"> 1788</span>&#160; </div>
<div class="line"><a name="l01806"></a><span class="lineno"><a class="line" href="group__kernel.html#ga59ef78b1557f9543d0060ab25b0167ca"> 1806</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__kernel.html#ga59ef78b1557f9543d0060ab25b0167ca">libevdev_enable_event_type</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type);</div>
<div class="line"><a name="l01807"></a><span class="lineno"> 1807</span>&#160; </div>
<div class="line"><a name="l01834"></a><span class="lineno"><a class="line" href="group__kernel.html#gabbacb53b66882b5335055c0fd1f40d9a"> 1834</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__kernel.html#gabbacb53b66882b5335055c0fd1f40d9a">libevdev_disable_event_type</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type);</div>
<div class="line"><a name="l01835"></a><span class="lineno"> 1835</span>&#160; </div>
<div class="line"><a name="l01869"></a><span class="lineno"><a class="line" href="group__kernel.html#ga51cfda33fd526549046399aadd764fca"> 1869</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__kernel.html#ga51cfda33fd526549046399aadd764fca">libevdev_enable_event_code</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code, <span class="keyword">const</span> <span class="keywordtype">void</span> *data);</div>
<div class="line"><a name="l01870"></a><span class="lineno"> 1870</span>&#160; </div>
<div class="line"><a name="l01898"></a><span class="lineno"><a class="line" href="group__kernel.html#ga6199a7c8144f54e092e913c2d2df16de"> 1898</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__kernel.html#ga6199a7c8144f54e092e913c2d2df16de">libevdev_disable_event_code</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code);</div>
<div class="line"><a name="l01899"></a><span class="lineno"> 1899</span>&#160; </div>
<div class="line"><a name="l01914"></a><span class="lineno"><a class="line" href="group__kernel.html#ga41c0321b93349d0ddd1f1c007ccf7de9"> 1914</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__kernel.html#ga41c0321b93349d0ddd1f1c007ccf7de9">libevdev_kernel_set_abs_info</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code, <span class="keyword">const</span> <span class="keyword">struct</span> input_absinfo *abs);</div>
<div class="line"><a name="l01915"></a><span class="lineno"> 1915</span>&#160; </div>
<div class="line"><a name="l01919"></a><span class="lineno"><a class="line" href="group__kernel.html#ga8cddf7779debef0067665671e911ec41"> 1919</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="group__kernel.html#ga8cddf7779debef0067665671e911ec41">libevdev_led_value</a> {</div>
<div class="line"><a name="l01920"></a><span class="lineno"><a class="line" href="group__kernel.html#gga8cddf7779debef0067665671e911ec41a69d5a4cdf2a9357915fff0251a61d2ab"> 1920</a></span>&#160;        <a class="code" href="group__kernel.html#gga8cddf7779debef0067665671e911ec41a69d5a4cdf2a9357915fff0251a61d2ab">LIBEVDEV_LED_ON</a> = 3, </div>
<div class="line"><a name="l01921"></a><span class="lineno"> 1921</span>&#160;        <a class="code" href="group__kernel.html#gga8cddf7779debef0067665671e911ec41a23e508440306c387ddf89acd2db9e065">LIBEVDEV_LED_OFF</a> = 4 </div>
<div class="line"><a name="l01922"></a><span class="lineno"><a class="line" href="group__kernel.html#gga8cddf7779debef0067665671e911ec41a23e508440306c387ddf89acd2db9e065"> 1922</a></span>&#160;};</div>
<div class="line"><a name="l01923"></a><span class="lineno"> 1923</span>&#160; </div>
<div class="line"><a name="l01937"></a><span class="lineno"><a class="line" href="group__kernel.html#gaa7d13aeac3c40e16f296467780e67c01"> 1937</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__kernel.html#gaa7d13aeac3c40e16f296467780e67c01">libevdev_kernel_set_led_value</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code, <span class="keyword">enum</span> <a class="code" href="group__kernel.html#ga8cddf7779debef0067665671e911ec41">libevdev_led_value</a> value);</div>
<div class="line"><a name="l01938"></a><span class="lineno"> 1938</span>&#160; </div>
<div class="line"><a name="l01962"></a><span class="lineno"><a class="line" href="group__kernel.html#ga93a19fa6e5be57903aff7c4a60af2a00"> 1962</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__kernel.html#ga93a19fa6e5be57903aff7c4a60af2a00">libevdev_kernel_set_led_values</a>(<span class="keyword">struct</span> libevdev *dev, ...);</div>
<div class="line"><a name="l01963"></a><span class="lineno"> 1963</span>&#160; </div>
<div class="line"><a name="l01978"></a><span class="lineno"><a class="line" href="group__kernel.html#ga2925b6fbf8c7991ff2164424b840b82d"> 1978</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__kernel.html#ga2925b6fbf8c7991ff2164424b840b82d">libevdev_set_clock_id</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">int</span> clockid);</div>
<div class="line"><a name="l01979"></a><span class="lineno"> 1979</span>&#160; </div>
<div class="line"><a name="l02001"></a><span class="lineno"><a class="line" href="group__misc.html#gab8b6b80740e028261300b8952b61a596"> 2001</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__misc.html#gab8b6b80740e028261300b8952b61a596">libevdev_event_is_type</a>(<span class="keyword">const</span> <span class="keyword">struct</span> input_event *ev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type);</div>
<div class="line"><a name="l02002"></a><span class="lineno"> 2002</span>&#160; </div>
<div class="line"><a name="l02026"></a><span class="lineno"><a class="line" href="group__misc.html#ga37766a6a498fef3294d589abcce688bb"> 2026</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__misc.html#ga37766a6a498fef3294d589abcce688bb">libevdev_event_is_code</a>(<span class="keyword">const</span> <span class="keyword">struct</span> input_event *ev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code);</div>
<div class="line"><a name="l02027"></a><span class="lineno"> 2027</span>&#160; </div>
<div class="line"><a name="l02039"></a><span class="lineno"><a class="line" href="group__misc.html#gac99720fd926bf288764f9a81bf37ed09"> 2039</a></span>&#160;<span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="group__misc.html#gac99720fd926bf288764f9a81bf37ed09">libevdev_event_type_get_name</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type);</div>
<div class="line"><a name="l02052"></a><span class="lineno"><a class="line" href="group__misc.html#gab407b3c2caaae502859c28460cad17bb"> 2052</a></span>&#160;<span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="group__misc.html#gab407b3c2caaae502859c28460cad17bb">libevdev_event_code_get_name</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code);</div>
<div class="line"><a name="l02053"></a><span class="lineno"> 2053</span>&#160; </div>
<div class="line"><a name="l02074"></a><span class="lineno"><a class="line" href="group__misc.html#gabcd45c5e963cba245e944ea66e72fcc3"> 2074</a></span>&#160;<span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="group__misc.html#gabcd45c5e963cba245e944ea66e72fcc3">libevdev_event_value_get_name</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type,</div>
<div class="line"><a name="l02075"></a><span class="lineno"> 2075</span>&#160;                                           <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code,</div>
<div class="line"><a name="l02076"></a><span class="lineno"> 2076</span>&#160;                                           <span class="keywordtype">int</span> value);</div>
<div class="line"><a name="l02090"></a><span class="lineno"><a class="line" href="group__misc.html#gacc12bdb7b912070ac9c375428f2c9892"> 2090</a></span>&#160;<span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="group__misc.html#gacc12bdb7b912070ac9c375428f2c9892">libevdev_property_get_name</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> prop);</div>
<div class="line"><a name="l02091"></a><span class="lineno"> 2091</span>&#160; </div>
<div class="line"><a name="l02104"></a><span class="lineno"><a class="line" href="group__misc.html#gabfad87ea78d034631cf3e5322ac383a1"> 2104</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__misc.html#gabfad87ea78d034631cf3e5322ac383a1">libevdev_event_type_get_max</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type);</div>
<div class="line"><a name="l02105"></a><span class="lineno"> 2105</span>&#160; </div>
<div class="line"><a name="l02120"></a><span class="lineno"><a class="line" href="group__misc.html#ga61ce3bf1e66bd172e583b86a11fc41f1"> 2120</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__misc.html#ga61ce3bf1e66bd172e583b86a11fc41f1">libevdev_event_type_from_name</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div>
<div class="line"><a name="l02121"></a><span class="lineno"> 2121</span>&#160; </div>
<div class="line"><a name="l02138"></a><span class="lineno"><a class="line" href="group__misc.html#ga4ee03d650200bb04a23233570667fa84"> 2138</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__misc.html#ga4ee03d650200bb04a23233570667fa84">libevdev_event_type_from_name_n</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keywordtype">size_t</span> len);</div>
<div class="line"><a name="l02139"></a><span class="lineno"> 2139</span>&#160; </div>
<div class="line"><a name="l02159"></a><span class="lineno"><a class="line" href="group__misc.html#ga6620301a67f467489e4a7f93afe81621"> 2159</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__misc.html#ga6620301a67f467489e4a7f93afe81621">libevdev_event_code_from_name</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type, <span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div>
<div class="line"><a name="l02160"></a><span class="lineno"> 2160</span>&#160; </div>
<div class="line"><a name="l02182"></a><span class="lineno"><a class="line" href="group__misc.html#ga17a760a9eea9dc25011f39e1d5c282a0"> 2182</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__misc.html#ga17a760a9eea9dc25011f39e1d5c282a0">libevdev_event_code_from_name_n</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type, <span class="keyword">const</span> <span class="keywordtype">char</span> *name,</div>
<div class="line"><a name="l02183"></a><span class="lineno"> 2183</span>&#160;                                    <span class="keywordtype">size_t</span> len);</div>
<div class="line"><a name="l02184"></a><span class="lineno"> 2184</span>&#160; </div>
<div class="line"><a name="l02206"></a><span class="lineno"><a class="line" href="group__misc.html#ga314903beeafedabe45f879637e7254b0"> 2206</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__misc.html#ga314903beeafedabe45f879637e7254b0">libevdev_event_value_from_name</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code,</div>
<div class="line"><a name="l02207"></a><span class="lineno"> 2207</span>&#160;                                   <span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div>
<div class="line"><a name="l02208"></a><span class="lineno"> 2208</span>&#160; </div>
<div class="line"><a name="l02225"></a><span class="lineno"> 2225</span>&#160;<span class="keywordtype">int</span></div>
<div class="line"><a name="l02226"></a><span class="lineno"><a class="line" href="group__misc.html#gadd41b7514cca16c8b8920f16e562e08a"> 2226</a></span>&#160;<a class="code" href="group__misc.html#gadd41b7514cca16c8b8920f16e562e08a">libevdev_event_type_from_code_name</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div>
<div class="line"><a name="l02227"></a><span class="lineno"> 2227</span>&#160; </div>
<div class="line"><a name="l02246"></a><span class="lineno"> 2246</span>&#160;<span class="keywordtype">int</span></div>
<div class="line"><a name="l02247"></a><span class="lineno"><a class="line" href="group__misc.html#gab214498fca7a328f8a712ce15bf21982"> 2247</a></span>&#160;<a class="code" href="group__misc.html#gab214498fca7a328f8a712ce15bf21982">libevdev_event_type_from_code_name_n</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keywordtype">size_t</span> len);</div>
<div class="line"><a name="l02248"></a><span class="lineno"> 2248</span>&#160; </div>
<div class="line"><a name="l02265"></a><span class="lineno"> 2265</span>&#160;<span class="keywordtype">int</span></div>
<div class="line"><a name="l02266"></a><span class="lineno"><a class="line" href="group__misc.html#gabad00f68481d83747a134c0a37aca003"> 2266</a></span>&#160;<a class="code" href="group__misc.html#gabad00f68481d83747a134c0a37aca003">libevdev_event_code_from_code_name</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div>
<div class="line"><a name="l02267"></a><span class="lineno"> 2267</span>&#160; </div>
<div class="line"><a name="l02286"></a><span class="lineno"> 2286</span>&#160;<span class="keywordtype">int</span></div>
<div class="line"><a name="l02287"></a><span class="lineno"><a class="line" href="group__misc.html#ga5bf9af4b8c372d87793e8a3c2dbeb466"> 2287</a></span>&#160;<a class="code" href="group__misc.html#ga5bf9af4b8c372d87793e8a3c2dbeb466">libevdev_event_code_from_code_name_n</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keywordtype">size_t</span> len);</div>
<div class="line"><a name="l02288"></a><span class="lineno"> 2288</span>&#160; </div>
<div class="line"><a name="l02312"></a><span class="lineno"><a class="line" href="group__misc.html#gaebfc6b0ebb70169c9fec61620f1ea85f"> 2312</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__misc.html#gaebfc6b0ebb70169c9fec61620f1ea85f">libevdev_event_value_from_name_n</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code,</div>
<div class="line"><a name="l02313"></a><span class="lineno"> 2313</span>&#160;                                     <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keywordtype">size_t</span> len);</div>
<div class="line"><a name="l02314"></a><span class="lineno"> 2314</span>&#160; </div>
<div class="line"><a name="l02327"></a><span class="lineno"><a class="line" href="group__misc.html#ga6f4418c98aa475a2fc34d58a197f7edd"> 2327</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__misc.html#ga6f4418c98aa475a2fc34d58a197f7edd">libevdev_property_from_name</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div>
<div class="line"><a name="l02328"></a><span class="lineno"> 2328</span>&#160; </div>
<div class="line"><a name="l02343"></a><span class="lineno"><a class="line" href="group__misc.html#gaaa0bc4c7d0d2aedc84c7dcffee9ce29b"> 2343</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__misc.html#gaaa0bc4c7d0d2aedc84c7dcffee9ce29b">libevdev_property_from_name_n</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keywordtype">size_t</span> len);</div>
<div class="line"><a name="l02344"></a><span class="lineno"> 2344</span>&#160; </div>
<div class="line"><a name="l02362"></a><span class="lineno"><a class="line" href="group__bits.html#gaf12fa199bb9497b38358d72e7505d770"> 2362</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__bits.html#gaf12fa199bb9497b38358d72e7505d770">libevdev_get_repeat</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">int</span> *delay, <span class="keywordtype">int</span> *period);</div>
<div class="line"><a name="l02363"></a><span class="lineno"> 2363</span>&#160; </div>
<div class="line"><a name="l02364"></a><span class="lineno"> 2364</span>&#160;<span class="comment">/********* DEPRECATED SECTION *********/</span></div>
<div class="line"><a name="l02365"></a><span class="lineno"> 2365</span>&#160;<span class="preprocessor">#if defined(__GNUC__) &amp;&amp; __GNUC__ &gt;= 4</span></div>
<div class="line"><a name="l02366"></a><span class="lineno"> 2366</span>&#160;<span class="preprocessor">#define LIBEVDEV_DEPRECATED __attribute__ ((deprecated))</span></div>
<div class="line"><a name="l02367"></a><span class="lineno"> 2367</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l02368"></a><span class="lineno"><a class="line" href="libevdev_8h.html#aa136bf4638abda28de7cd9f48af534ae"> 2368</a></span>&#160;<span class="preprocessor">#define LIBEVDEV_DEPRECATED</span></div>
<div class="line"><a name="l02369"></a><span class="lineno"> 2369</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l02370"></a><span class="lineno"> 2370</span>&#160; </div>
<div class="line"><a name="l02371"></a><span class="lineno"> 2371</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l02372"></a><span class="lineno"> 2372</span>&#160;}</div>
<div class="line"><a name="l02373"></a><span class="lineno"> 2373</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l02374"></a><span class="lineno"> 2374</span>&#160; </div>
<div class="line"><a name="l02375"></a><span class="lineno"> 2375</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* LIBEVDEV_H */</span><span class="preprocessor"></span></div>
<div class="ttc" id="agroup__bits_html_ga08891c3285da5b8d26769c9a34f063f3"><div class="ttname"><a href="group__bits.html#ga08891c3285da5b8d26769c9a34f063f3">libevdev_get_id_vendor</a></div><div class="ttdeci">int libevdev_get_id_vendor(const struct libevdev *dev)</div></div>
<div class="ttc" id="agroup__bits_html_ga0a7be80d769294bf9758adf79c3c7147"><div class="ttname"><a href="group__bits.html#ga0a7be80d769294bf9758adf79c3c7147">libevdev_fetch_event_value</a></div><div class="ttdeci">int libevdev_fetch_event_value(const struct libevdev *dev, unsigned int type, unsigned int code, int *value)</div><div class="ttdoc">Fetch the current value of the event type.</div></div>
<div class="ttc" id="agroup__bits_html_ga1a3dfeb3bb2db0b4323c836c7ab10f1a"><div class="ttname"><a href="group__bits.html#ga1a3dfeb3bb2db0b4323c836c7ab10f1a">libevdev_get_abs_fuzz</a></div><div class="ttdeci">int libevdev_get_abs_fuzz(const struct libevdev *dev, unsigned int code)</div><div class="ttdoc">Get the axis fuzz for the given axis, as advertised by the kernel.</div></div>
<div class="ttc" id="agroup__bits_html_ga1dc66cfef646878d58be72f8902a6bac"><div class="ttname"><a href="group__bits.html#ga1dc66cfef646878d58be72f8902a6bac">libevdev_get_id_product</a></div><div class="ttdeci">int libevdev_get_id_product(const struct libevdev *dev)</div></div>
<div class="ttc" id="agroup__bits_html_ga31e9e7a99215a03bcdc339b53e1be2fa"><div class="ttname"><a href="group__bits.html#ga31e9e7a99215a03bcdc339b53e1be2fa">libevdev_get_driver_version</a></div><div class="ttdeci">int libevdev_get_driver_version(const struct libevdev *dev)</div></div>
<div class="ttc" id="agroup__bits_html_ga36d529ea53f4522004bc7d16c051464b"><div class="ttname"><a href="group__bits.html#ga36d529ea53f4522004bc7d16c051464b">libevdev_has_property</a></div><div class="ttdeci">int libevdev_has_property(const struct libevdev *dev, unsigned int prop)</div></div>
<div class="ttc" id="agroup__bits_html_ga398bef155fa4a0cfb832de30723ebd14"><div class="ttname"><a href="group__bits.html#ga398bef155fa4a0cfb832de30723ebd14">libevdev_has_event_type</a></div><div class="ttdeci">int libevdev_has_event_type(const struct libevdev *dev, unsigned int type)</div></div>
<div class="ttc" id="agroup__bits_html_ga482ce989a3f62f7e67e4ea7ad534189e"><div class="ttname"><a href="group__bits.html#ga482ce989a3f62f7e67e4ea7ad534189e">libevdev_get_abs_minimum</a></div><div class="ttdeci">int libevdev_get_abs_minimum(const struct libevdev *dev, unsigned int code)</div><div class="ttdoc">Get the minimum axis value for the given axis, as advertised by the kernel.</div></div>
<div class="ttc" id="agroup__bits_html_ga5df483b0b24d7b96ea1181808fab851d"><div class="ttname"><a href="group__bits.html#ga5df483b0b24d7b96ea1181808fab851d">libevdev_get_phys</a></div><div class="ttdeci">const char * libevdev_get_phys(const struct libevdev *dev)</div><div class="ttdoc">Retrieve the device's physical location, either as set by the caller or as read from the kernel.</div></div>
<div class="ttc" id="agroup__bits_html_ga6259f4c6bdba950329ff9cd48c2ef8a3"><div class="ttname"><a href="group__bits.html#ga6259f4c6bdba950329ff9cd48c2ef8a3">libevdev_get_event_value</a></div><div class="ttdeci">int libevdev_get_event_value(const struct libevdev *dev, unsigned int type, unsigned int code)</div><div class="ttdoc">Behaviour of this function is undefined if the device does not provide the event.</div></div>
<div class="ttc" id="agroup__bits_html_ga6b3f7ebae2324524dc41384acd724b92"><div class="ttname"><a href="group__bits.html#ga6b3f7ebae2324524dc41384acd724b92">libevdev_get_abs_flat</a></div><div class="ttdeci">int libevdev_get_abs_flat(const struct libevdev *dev, unsigned int code)</div><div class="ttdoc">Get the axis flat for the given axis, as advertised by the kernel.</div></div>
<div class="ttc" id="agroup__bits_html_ga6d8e2caf87fa536fad979346671838d7"><div class="ttname"><a href="group__bits.html#ga6d8e2caf87fa536fad979346671838d7">libevdev_get_abs_info</a></div><div class="ttdeci">const struct input_absinfo * libevdev_get_abs_info(const struct libevdev *dev, unsigned int code)</div><div class="ttdoc">Get the axis info for the given axis, as advertised by the kernel.</div></div>
<div class="ttc" id="agroup__bits_html_ga6d9f7d44bff8828ead3d251177035ca4"><div class="ttname"><a href="group__bits.html#ga6d9f7d44bff8828ead3d251177035ca4">libevdev_get_uniq</a></div><div class="ttdeci">const char * libevdev_get_uniq(const struct libevdev *dev)</div><div class="ttdoc">Retrieve the device's unique identifier, either as set by the caller or as read from the kernel.</div></div>
<div class="ttc" id="agroup__bits_html_ga75751e637a845201b6d1c419ecfa6ba4"><div class="ttname"><a href="group__bits.html#ga75751e637a845201b6d1c419ecfa6ba4">libevdev_get_abs_resolution</a></div><div class="ttdeci">int libevdev_get_abs_resolution(const struct libevdev *dev, unsigned int code)</div><div class="ttdoc">Get the axis resolution for the given axis, as advertised by the kernel.</div></div>
<div class="ttc" id="agroup__bits_html_ga75a07d0c96dfe09d2194c104c429d0ae"><div class="ttname"><a href="group__bits.html#ga75a07d0c96dfe09d2194c104c429d0ae">libevdev_get_id_version</a></div><div class="ttdeci">int libevdev_get_id_version(const struct libevdev *dev)</div></div>
<div class="ttc" id="agroup__bits_html_ga97a3411ae85f1f3b5c5eb1d5351b11ca"><div class="ttname"><a href="group__bits.html#ga97a3411ae85f1f3b5c5eb1d5351b11ca">libevdev_get_abs_maximum</a></div><div class="ttdeci">int libevdev_get_abs_maximum(const struct libevdev *dev, unsigned int code)</div><div class="ttdoc">Get the maximum axis value for the given axis, as advertised by the kernel.</div></div>
<div class="ttc" id="agroup__bits_html_ga9bf55d416401642bad0c435735682308"><div class="ttname"><a href="group__bits.html#ga9bf55d416401642bad0c435735682308">libevdev_get_id_bustype</a></div><div class="ttdeci">int libevdev_get_id_bustype(const struct libevdev *dev)</div></div>
<div class="ttc" id="agroup__bits_html_gab2ab9dad417f33daa79fa0c3d682df0b"><div class="ttname"><a href="group__bits.html#gab2ab9dad417f33daa79fa0c3d682df0b">libevdev_has_event_code</a></div><div class="ttdeci">int libevdev_has_event_code(const struct libevdev *dev, unsigned int type, unsigned int code)</div></div>
<div class="ttc" id="agroup__bits_html_gaed0328c67b7a78422636d9fe09a73f12"><div class="ttname"><a href="group__bits.html#gaed0328c67b7a78422636d9fe09a73f12">libevdev_get_name</a></div><div class="ttdeci">const char * libevdev_get_name(const struct libevdev *dev)</div><div class="ttdoc">Retrieve the device's name, either as set by the caller or as read from the kernel.</div></div>
<div class="ttc" id="agroup__bits_html_gaf12fa199bb9497b38358d72e7505d770"><div class="ttname"><a href="group__bits.html#gaf12fa199bb9497b38358d72e7505d770">libevdev_get_repeat</a></div><div class="ttdeci">int libevdev_get_repeat(const struct libevdev *dev, int *delay, int *period)</div><div class="ttdoc">Get the repeat delay and repeat period values for this device.</div></div>
<div class="ttc" id="agroup__events_html_ga4a96221b3c7f54dfb86035d952154e3a"><div class="ttname"><a href="group__events.html#ga4a96221b3c7f54dfb86035d952154e3a">libevdev_read_status</a></div><div class="ttdeci">libevdev_read_status</div><div class="ttdef"><b>Definition:</b> libevdev.h:1074</div></div>
<div class="ttc" id="agroup__events_html_ga56c288d9f2e4c1632986c4e218c494e9"><div class="ttname"><a href="group__events.html#ga56c288d9f2e4c1632986c4e218c494e9">libevdev_read_flag</a></div><div class="ttdeci">libevdev_read_flag</div><div class="ttdef"><b>Definition:</b> libevdev.h:760</div></div>
<div class="ttc" id="agroup__events_html_gabb96c864e836c0b98788f4ab771c3a76"><div class="ttname"><a href="group__events.html#gabb96c864e836c0b98788f4ab771c3a76">libevdev_next_event</a></div><div class="ttdeci">int libevdev_next_event(struct libevdev *dev, unsigned int flags, struct input_event *ev)</div><div class="ttdoc">Get the next event from the device.</div></div>
<div class="ttc" id="agroup__events_html_gae18fbfb59064c9c4b9d5db2d8cb23784"><div class="ttname"><a href="group__events.html#gae18fbfb59064c9c4b9d5db2d8cb23784">libevdev_has_event_pending</a></div><div class="ttdeci">int libevdev_has_event_pending(struct libevdev *dev)</div><div class="ttdoc">Check if there are events waiting for us.</div></div>
<div class="ttc" id="agroup__events_html_gga4a96221b3c7f54dfb86035d952154e3aa8d70b14a38204fde4ad433023baa545a"><div class="ttname"><a href="group__events.html#gga4a96221b3c7f54dfb86035d952154e3aa8d70b14a38204fde4ad433023baa545a">LIBEVDEV_READ_STATUS_SYNC</a></div><div class="ttdeci">@ LIBEVDEV_READ_STATUS_SYNC</div><div class="ttdoc">Depending on the libevdev_next_event() read flag:</div><div class="ttdef"><b>Definition:</b> libevdev.h:1090</div></div>
<div class="ttc" id="agroup__events_html_gga4a96221b3c7f54dfb86035d952154e3aab053221fc1c9630eee7111b75aa0aec7"><div class="ttname"><a href="group__events.html#gga4a96221b3c7f54dfb86035d952154e3aab053221fc1c9630eee7111b75aa0aec7">LIBEVDEV_READ_STATUS_SUCCESS</a></div><div class="ttdeci">@ LIBEVDEV_READ_STATUS_SUCCESS</div><div class="ttdoc">libevdev_next_event() has finished without an error and an event is available for processing.</div><div class="ttdef"><b>Definition:</b> libevdev.h:1081</div></div>
<div class="ttc" id="agroup__events_html_gga56c288d9f2e4c1632986c4e218c494e9a0a348d44362a7e515b40a4ed4d528e19"><div class="ttname"><a href="group__events.html#gga56c288d9f2e4c1632986c4e218c494e9a0a348d44362a7e515b40a4ed4d528e19">LIBEVDEV_READ_FLAG_BLOCKING</a></div><div class="ttdeci">@ LIBEVDEV_READ_FLAG_BLOCKING</div><div class="ttdoc">The fd is not in O_NONBLOCK and a read may block.</div><div class="ttdef"><b>Definition:</b> libevdev.h:765</div></div>
<div class="ttc" id="agroup__events_html_gga56c288d9f2e4c1632986c4e218c494e9a1f13a19641d6dafcf01a86a6389800f8"><div class="ttname"><a href="group__events.html#gga56c288d9f2e4c1632986c4e218c494e9a1f13a19641d6dafcf01a86a6389800f8">LIBEVDEV_READ_FLAG_SYNC</a></div><div class="ttdeci">@ LIBEVDEV_READ_FLAG_SYNC</div><div class="ttdoc">Process data in sync mode.</div><div class="ttdef"><b>Definition:</b> libevdev.h:761</div></div>
<div class="ttc" id="agroup__events_html_gga56c288d9f2e4c1632986c4e218c494e9a5198e5c9cc98b75f73f61b104d6a674c"><div class="ttname"><a href="group__events.html#gga56c288d9f2e4c1632986c4e218c494e9a5198e5c9cc98b75f73f61b104d6a674c">LIBEVDEV_READ_FLAG_FORCE_SYNC</a></div><div class="ttdeci">@ LIBEVDEV_READ_FLAG_FORCE_SYNC</div><div class="ttdoc">Pretend the next event is a SYN_DROPPED and require the caller to sync.</div><div class="ttdef"><b>Definition:</b> libevdev.h:763</div></div>
<div class="ttc" id="agroup__events_html_gga56c288d9f2e4c1632986c4e218c494e9ac0d6ee19551eecf76f1ede4f36252418"><div class="ttname"><a href="group__events.html#gga56c288d9f2e4c1632986c4e218c494e9ac0d6ee19551eecf76f1ede4f36252418">LIBEVDEV_READ_FLAG_NORMAL</a></div><div class="ttdeci">@ LIBEVDEV_READ_FLAG_NORMAL</div><div class="ttdoc">Process data in normal mode.</div><div class="ttdef"><b>Definition:</b> libevdev.h:762</div></div>
<div class="ttc" id="agroup__init_html_ga332c8ee260b4ef864345abe5d04e820c"><div class="ttname"><a href="group__init.html#ga332c8ee260b4ef864345abe5d04e820c">libevdev_new</a></div><div class="ttdeci">struct libevdev * libevdev_new(void)</div><div class="ttdoc">Initialize a new libevdev device.</div></div>
<div class="ttc" id="agroup__init_html_ga5d434af74fee20f273db568e2cbbd13f"><div class="ttname"><a href="group__init.html#ga5d434af74fee20f273db568e2cbbd13f">libevdev_grab</a></div><div class="ttdeci">int libevdev_grab(struct libevdev *dev, enum libevdev_grab_mode grab)</div><div class="ttdoc">Grab or ungrab the device through a kernel EVIOCGRAB.</div></div>
<div class="ttc" id="agroup__init_html_ga6658ac490d68c307ff8b8d1536c12b44"><div class="ttname"><a href="group__init.html#ga6658ac490d68c307ff8b8d1536c12b44">libevdev_set_fd</a></div><div class="ttdeci">int libevdev_set_fd(struct libevdev *dev, int fd)</div><div class="ttdoc">Set the fd for this struct and initialize internal data.</div></div>
<div class="ttc" id="agroup__init_html_ga89bb5bce1c23e293293484b05b12aaf4"><div class="ttname"><a href="group__init.html#ga89bb5bce1c23e293293484b05b12aaf4">libevdev_new_from_fd</a></div><div class="ttdeci">int libevdev_new_from_fd(int fd, struct libevdev **dev)</div><div class="ttdoc">Initialize a new libevdev device from the given fd.</div></div>
<div class="ttc" id="agroup__init_html_gaa282ec9badaa6bc11b1dc5bb124dbd5b"><div class="ttname"><a href="group__init.html#gaa282ec9badaa6bc11b1dc5bb124dbd5b">libevdev_grab_mode</a></div><div class="ttdeci">libevdev_grab_mode</div><div class="ttdef"><b>Definition:</b> libevdev.h:958</div></div>
<div class="ttc" id="agroup__init_html_gab9bfc800859ac3aa63f41d58ec4b616c"><div class="ttname"><a href="group__init.html#gab9bfc800859ac3aa63f41d58ec4b616c">libevdev_get_fd</a></div><div class="ttdeci">int libevdev_get_fd(const struct libevdev *dev)</div></div>
<div class="ttc" id="agroup__init_html_gac71c9cca4c572ed1b1a8c233be70a17c"><div class="ttname"><a href="group__init.html#gac71c9cca4c572ed1b1a8c233be70a17c">libevdev_change_fd</a></div><div class="ttdeci">int libevdev_change_fd(struct libevdev *dev, int fd)</div><div class="ttdoc">Change the fd for this device, without re-reading the actual device.</div></div>
<div class="ttc" id="agroup__init_html_gacd9fe760d15be25fc99ce469034bd78c"><div class="ttname"><a href="group__init.html#gacd9fe760d15be25fc99ce469034bd78c">libevdev_free</a></div><div class="ttdeci">void libevdev_free(struct libevdev *dev)</div><div class="ttdoc">Clean up and free the libevdev struct.</div></div>
<div class="ttc" id="agroup__init_html_ggaa282ec9badaa6bc11b1dc5bb124dbd5ba6c0930d0c280753504cd05ebdcda09eb"><div class="ttname"><a href="group__init.html#ggaa282ec9badaa6bc11b1dc5bb124dbd5ba6c0930d0c280753504cd05ebdcda09eb">LIBEVDEV_UNGRAB</a></div><div class="ttdeci">@ LIBEVDEV_UNGRAB</div><div class="ttdoc">Ungrab the device if currently grabbed.</div><div class="ttdef"><b>Definition:</b> libevdev.h:960</div></div>
<div class="ttc" id="agroup__init_html_ggaa282ec9badaa6bc11b1dc5bb124dbd5bad3ac6f5f3ebf7d38a6aad74a88396c88"><div class="ttname"><a href="group__init.html#ggaa282ec9badaa6bc11b1dc5bb124dbd5bad3ac6f5f3ebf7d38a6aad74a88396c88">LIBEVDEV_GRAB</a></div><div class="ttdeci">@ LIBEVDEV_GRAB</div><div class="ttdoc">Grab the device if not currently grabbed.</div><div class="ttdef"><b>Definition:</b> libevdev.h:959</div></div>
<div class="ttc" id="agroup__kernel_html_ga0c61f4919b03b0850529a50c37a20333"><div class="ttname"><a href="group__kernel.html#ga0c61f4919b03b0850529a50c37a20333">libevdev_set_slot_value</a></div><div class="ttdeci">int libevdev_set_slot_value(struct libevdev *dev, unsigned int slot, unsigned int code, int value)</div><div class="ttdoc">Set the value for a given code for the given slot.</div></div>
<div class="ttc" id="agroup__kernel_html_ga2266b59711cdaa4fc12fa56c9313a038"><div class="ttname"><a href="group__kernel.html#ga2266b59711cdaa4fc12fa56c9313a038">libevdev_set_abs_resolution</a></div><div class="ttdeci">void libevdev_set_abs_resolution(struct libevdev *dev, unsigned int code, int val)</div><div class="ttdoc">Change the resolution for the given EV_ABS event code, if the code exists.</div></div>
<div class="ttc" id="agroup__kernel_html_ga2302fd9a491d8e27280157d67a703af6"><div class="ttname"><a href="group__kernel.html#ga2302fd9a491d8e27280157d67a703af6">libevdev_set_abs_maximum</a></div><div class="ttdeci">void libevdev_set_abs_maximum(struct libevdev *dev, unsigned int code, int val)</div><div class="ttdoc">Change the maximum for the given EV_ABS event code, if the code exists.</div></div>
<div class="ttc" id="agroup__kernel_html_ga2925b6fbf8c7991ff2164424b840b82d"><div class="ttname"><a href="group__kernel.html#ga2925b6fbf8c7991ff2164424b840b82d">libevdev_set_clock_id</a></div><div class="ttdeci">int libevdev_set_clock_id(struct libevdev *dev, int clockid)</div><div class="ttdoc">Set the clock ID to be used for timestamps.</div></div>
<div class="ttc" id="agroup__kernel_html_ga41c0321b93349d0ddd1f1c007ccf7de9"><div class="ttname"><a href="group__kernel.html#ga41c0321b93349d0ddd1f1c007ccf7de9">libevdev_kernel_set_abs_info</a></div><div class="ttdeci">int libevdev_kernel_set_abs_info(struct libevdev *dev, unsigned int code, const struct input_absinfo *abs)</div><div class="ttdoc">Set the device's EV_ABS axis to the value defined in the abs parameter.</div></div>
<div class="ttc" id="agroup__kernel_html_ga4e4fd2627744fd5811c50c7403f27ad7"><div class="ttname"><a href="group__kernel.html#ga4e4fd2627744fd5811c50c7403f27ad7">libevdev_set_uniq</a></div><div class="ttdeci">void libevdev_set_uniq(struct libevdev *dev, const char *uniq)</div><div class="ttdoc">Change the device's unique identifier as returned by libevdev_get_uniq().</div></div>
<div class="ttc" id="agroup__kernel_html_ga51cfda33fd526549046399aadd764fca"><div class="ttname"><a href="group__kernel.html#ga51cfda33fd526549046399aadd764fca">libevdev_enable_event_code</a></div><div class="ttdeci">int libevdev_enable_event_code(struct libevdev *dev, unsigned int type, unsigned int code, const void *data)</div><div class="ttdoc">Forcibly enable an event code on this device, even if the underlying device does not support it.</div></div>
<div class="ttc" id="agroup__kernel_html_ga59ef78b1557f9543d0060ab25b0167ca"><div class="ttname"><a href="group__kernel.html#ga59ef78b1557f9543d0060ab25b0167ca">libevdev_enable_event_type</a></div><div class="ttdeci">int libevdev_enable_event_type(struct libevdev *dev, unsigned int type)</div><div class="ttdoc">Forcibly enable an event type on this device, even if the underlying device does not support it.</div></div>
<div class="ttc" id="agroup__kernel_html_ga6199a7c8144f54e092e913c2d2df16de"><div class="ttname"><a href="group__kernel.html#ga6199a7c8144f54e092e913c2d2df16de">libevdev_disable_event_code</a></div><div class="ttdeci">int libevdev_disable_event_code(struct libevdev *dev, unsigned int type, unsigned int code)</div><div class="ttdoc">Forcibly disable an event code on this device, even if the underlying device provides it.</div></div>
<div class="ttc" id="agroup__kernel_html_ga62fbdaac056ab5c3db154a9eeaf33799"><div class="ttname"><a href="group__kernel.html#ga62fbdaac056ab5c3db154a9eeaf33799">libevdev_set_id_product</a></div><div class="ttdeci">void libevdev_set_id_product(struct libevdev *dev, int product_id)</div></div>
<div class="ttc" id="agroup__kernel_html_ga79e82ee2a95cb08adb4172aabe0c7184"><div class="ttname"><a href="group__kernel.html#ga79e82ee2a95cb08adb4172aabe0c7184">libevdev_set_event_value</a></div><div class="ttdeci">int libevdev_set_event_value(struct libevdev *dev, unsigned int type, unsigned int code, int value)</div><div class="ttdoc">Set the value for a given event type and code.</div></div>
<div class="ttc" id="agroup__kernel_html_ga8cddf7779debef0067665671e911ec41"><div class="ttname"><a href="group__kernel.html#ga8cddf7779debef0067665671e911ec41">libevdev_led_value</a></div><div class="ttdeci">libevdev_led_value</div><div class="ttdef"><b>Definition:</b> libevdev.h:1919</div></div>
<div class="ttc" id="agroup__kernel_html_ga8ce28051ebbb73de1d04d782f4d0d6fe"><div class="ttname"><a href="group__kernel.html#ga8ce28051ebbb73de1d04d782f4d0d6fe">libevdev_set_id_vendor</a></div><div class="ttdeci">void libevdev_set_id_vendor(struct libevdev *dev, int vendor_id)</div></div>
<div class="ttc" id="agroup__kernel_html_ga8f6367c36331c803ad69b2591e210019"><div class="ttname"><a href="group__kernel.html#ga8f6367c36331c803ad69b2591e210019">libevdev_disable_property</a></div><div class="ttdeci">int libevdev_disable_property(struct libevdev *dev, unsigned int prop)</div></div>
<div class="ttc" id="agroup__kernel_html_ga93a19fa6e5be57903aff7c4a60af2a00"><div class="ttname"><a href="group__kernel.html#ga93a19fa6e5be57903aff7c4a60af2a00">libevdev_kernel_set_led_values</a></div><div class="ttdeci">int libevdev_kernel_set_led_values(struct libevdev *dev,...)</div><div class="ttdoc">Turn multiple LEDs on or off simultaneously.</div></div>
<div class="ttc" id="agroup__kernel_html_gaa192bf0c68620be819337da6ec361c21"><div class="ttname"><a href="group__kernel.html#gaa192bf0c68620be819337da6ec361c21">libevdev_set_abs_fuzz</a></div><div class="ttdeci">void libevdev_set_abs_fuzz(struct libevdev *dev, unsigned int code, int val)</div><div class="ttdoc">Change the fuzz for the given EV_ABS event code, if the code exists.</div></div>
<div class="ttc" id="agroup__kernel_html_gaa7d13aeac3c40e16f296467780e67c01"><div class="ttname"><a href="group__kernel.html#gaa7d13aeac3c40e16f296467780e67c01">libevdev_kernel_set_led_value</a></div><div class="ttdeci">int libevdev_kernel_set_led_value(struct libevdev *dev, unsigned int code, enum libevdev_led_value value)</div><div class="ttdoc">Turn an LED on or off.</div></div>
<div class="ttc" id="agroup__kernel_html_gabbacb53b66882b5335055c0fd1f40d9a"><div class="ttname"><a href="group__kernel.html#gabbacb53b66882b5335055c0fd1f40d9a">libevdev_disable_event_type</a></div><div class="ttdeci">int libevdev_disable_event_type(struct libevdev *dev, unsigned int type)</div><div class="ttdoc">Forcibly disable an event type on this device, even if the underlying device provides it.</div></div>
<div class="ttc" id="agroup__kernel_html_gabd309f30744a49e9391250b00ba2d67a"><div class="ttname"><a href="group__kernel.html#gabd309f30744a49e9391250b00ba2d67a">libevdev_set_abs_flat</a></div><div class="ttdeci">void libevdev_set_abs_flat(struct libevdev *dev, unsigned int code, int val)</div><div class="ttdoc">Change the flat for the given EV_ABS event code, if the code exists.</div></div>
<div class="ttc" id="agroup__kernel_html_gaca62172c2a823cd02eacf0d2292d917a"><div class="ttname"><a href="group__kernel.html#gaca62172c2a823cd02eacf0d2292d917a">libevdev_set_abs_minimum</a></div><div class="ttdeci">void libevdev_set_abs_minimum(struct libevdev *dev, unsigned int code, int val)</div><div class="ttdoc">Change the minimum for the given EV_ABS event code, if the code exists.</div></div>
<div class="ttc" id="agroup__kernel_html_gacd57c8d6ace8e0b1417809a9c1c67af3"><div class="ttname"><a href="group__kernel.html#gacd57c8d6ace8e0b1417809a9c1c67af3">libevdev_set_phys</a></div><div class="ttdeci">void libevdev_set_phys(struct libevdev *dev, const char *phys)</div><div class="ttdoc">Change the device's physical location as returned by libevdev_get_phys().</div></div>
<div class="ttc" id="agroup__kernel_html_gae5dcdb7678cdc9be4ab1989725b4ed32"><div class="ttname"><a href="group__kernel.html#gae5dcdb7678cdc9be4ab1989725b4ed32">libevdev_set_name</a></div><div class="ttdeci">void libevdev_set_name(struct libevdev *dev, const char *name)</div><div class="ttdoc">Change the device's name as returned by libevdev_get_name().</div></div>
<div class="ttc" id="agroup__kernel_html_gaee1d2db88b191ec21d5bf22dd4fe3055"><div class="ttname"><a href="group__kernel.html#gaee1d2db88b191ec21d5bf22dd4fe3055">libevdev_set_id_version</a></div><div class="ttdeci">void libevdev_set_id_version(struct libevdev *dev, int version)</div></div>
<div class="ttc" id="agroup__kernel_html_gaf99139c728ba1bd4b37ede612780b6b0"><div class="ttname"><a href="group__kernel.html#gaf99139c728ba1bd4b37ede612780b6b0">libevdev_set_id_bustype</a></div><div class="ttdeci">void libevdev_set_id_bustype(struct libevdev *dev, int bustype)</div></div>
<div class="ttc" id="agroup__kernel_html_gafc552080520c9d886452b05f3a1d75b6"><div class="ttname"><a href="group__kernel.html#gafc552080520c9d886452b05f3a1d75b6">libevdev_enable_property</a></div><div class="ttdeci">int libevdev_enable_property(struct libevdev *dev, unsigned int prop)</div></div>
<div class="ttc" id="agroup__kernel_html_gafc7a4f5308e2dbf55f875630b8dca049"><div class="ttname"><a href="group__kernel.html#gafc7a4f5308e2dbf55f875630b8dca049">libevdev_set_abs_info</a></div><div class="ttdeci">void libevdev_set_abs_info(struct libevdev *dev, unsigned int code, const struct input_absinfo *abs)</div><div class="ttdoc">Change the abs info for the given EV_ABS event code, if the code exists.</div></div>
<div class="ttc" id="agroup__kernel_html_gga8cddf7779debef0067665671e911ec41a23e508440306c387ddf89acd2db9e065"><div class="ttname"><a href="group__kernel.html#gga8cddf7779debef0067665671e911ec41a23e508440306c387ddf89acd2db9e065">LIBEVDEV_LED_OFF</a></div><div class="ttdeci">@ LIBEVDEV_LED_OFF</div><div class="ttdoc">Turn the LED off.</div><div class="ttdef"><b>Definition:</b> libevdev.h:1921</div></div>
<div class="ttc" id="agroup__kernel_html_gga8cddf7779debef0067665671e911ec41a69d5a4cdf2a9357915fff0251a61d2ab"><div class="ttname"><a href="group__kernel.html#gga8cddf7779debef0067665671e911ec41a69d5a4cdf2a9357915fff0251a61d2ab">LIBEVDEV_LED_ON</a></div><div class="ttdeci">@ LIBEVDEV_LED_ON</div><div class="ttdoc">Turn the LED on.</div><div class="ttdef"><b>Definition:</b> libevdev.h:1920</div></div>
<div class="ttc" id="agroup__logging_html_ga0b798d0864f2b1b10e4603f9431b3364"><div class="ttname"><a href="group__logging.html#ga0b798d0864f2b1b10e4603f9431b3364">libevdev_log_priority</a></div><div class="ttdeci">libevdev_log_priority</div><div class="ttdef"><b>Definition:</b> libevdev.h:826</div></div>
<div class="ttc" id="agroup__logging_html_ga1da07493a798595cf85c127490b98ee8"><div class="ttname"><a href="group__logging.html#ga1da07493a798595cf85c127490b98ee8">libevdev_get_log_priority</a></div><div class="ttdeci">enum libevdev_log_priority libevdev_get_log_priority(void)</div><div class="ttdoc">Return the current log priority level.</div></div>
<div class="ttc" id="agroup__logging_html_ga2830ff0aa391d8d1111682d3e762091b"><div class="ttname"><a href="group__logging.html#ga2830ff0aa391d8d1111682d3e762091b">libevdev_set_device_log_function</a></div><div class="ttdeci">void libevdev_set_device_log_function(struct libevdev *dev, libevdev_device_log_func_t logfunc, enum libevdev_log_priority priority, void *data)</div><div class="ttdoc">Set a printf-style logging handler for library-internal logging for this device context.</div></div>
<div class="ttc" id="agroup__logging_html_gaa60be86b83b3a6c82d8e536ba89ff955"><div class="ttname"><a href="group__logging.html#gaa60be86b83b3a6c82d8e536ba89ff955">libevdev_set_log_function</a></div><div class="ttdeci">void libevdev_set_log_function(libevdev_log_func_t logfunc, void *data)</div><div class="ttdoc">Set a printf-style logging handler for library-internal logging.</div></div>
<div class="ttc" id="agroup__logging_html_gab7eb997be2b701cc6f42e7b4c3478269"><div class="ttname"><a href="group__logging.html#gab7eb997be2b701cc6f42e7b4c3478269">libevdev_device_log_func_t</a></div><div class="ttdeci">void(* libevdev_device_log_func_t)(const struct libevdev *dev, enum libevdev_log_priority priority, void *data, const char *file, int line, const char *func, const char *format, va_list args)</div><div class="ttdoc">Logging function called by library-internal logging for a specific libevdev context.</div><div class="ttdef"><b>Definition:</b> libevdev.h:921</div></div>
<div class="ttc" id="agroup__logging_html_gaf36c721d273c0794251eb7dacea2f0a4"><div class="ttname"><a href="group__logging.html#gaf36c721d273c0794251eb7dacea2f0a4">libevdev_log_func_t</a></div><div class="ttdeci">void(* libevdev_log_func_t)(enum libevdev_log_priority priority, void *data, const char *file, int line, const char *func, const char *format, va_list args)</div><div class="ttdoc">Logging function called by library-internal logging.</div><div class="ttdef"><b>Definition:</b> libevdev.h:848</div></div>
<div class="ttc" id="agroup__logging_html_gaf6b6842a9ed98b61d0abb421e853fd89"><div class="ttname"><a href="group__logging.html#gaf6b6842a9ed98b61d0abb421e853fd89">libevdev_set_log_priority</a></div><div class="ttdeci">void libevdev_set_log_priority(enum libevdev_log_priority priority)</div><div class="ttdoc">Define the minimum level to be printed to the log handler.</div></div>
<div class="ttc" id="agroup__logging_html_gga0b798d0864f2b1b10e4603f9431b3364a21fd1083f2ebd0a25f09ee982e365d5f"><div class="ttname"><a href="group__logging.html#gga0b798d0864f2b1b10e4603f9431b3364a21fd1083f2ebd0a25f09ee982e365d5f">LIBEVDEV_LOG_ERROR</a></div><div class="ttdeci">@ LIBEVDEV_LOG_ERROR</div><div class="ttdoc">critical errors and application bugs</div><div class="ttdef"><b>Definition:</b> libevdev.h:827</div></div>
<div class="ttc" id="agroup__logging_html_gga0b798d0864f2b1b10e4603f9431b3364a4d13a031b112292ca3e7bab8c6d76abc"><div class="ttname"><a href="group__logging.html#gga0b798d0864f2b1b10e4603f9431b3364a4d13a031b112292ca3e7bab8c6d76abc">LIBEVDEV_LOG_INFO</a></div><div class="ttdeci">@ LIBEVDEV_LOG_INFO</div><div class="ttdoc">informational messages</div><div class="ttdef"><b>Definition:</b> libevdev.h:828</div></div>
<div class="ttc" id="agroup__logging_html_gga0b798d0864f2b1b10e4603f9431b3364a760d66d422ffcf89b0f1ddb529b95793"><div class="ttname"><a href="group__logging.html#gga0b798d0864f2b1b10e4603f9431b3364a760d66d422ffcf89b0f1ddb529b95793">LIBEVDEV_LOG_DEBUG</a></div><div class="ttdeci">@ LIBEVDEV_LOG_DEBUG</div><div class="ttdoc">debug information</div><div class="ttdef"><b>Definition:</b> libevdev.h:829</div></div>
<div class="ttc" id="agroup__misc_html_ga17a760a9eea9dc25011f39e1d5c282a0"><div class="ttname"><a href="group__misc.html#ga17a760a9eea9dc25011f39e1d5c282a0">libevdev_event_code_from_name_n</a></div><div class="ttdeci">int libevdev_event_code_from_name_n(unsigned int type, const char *name, size_t len)</div><div class="ttdoc">Look up an event code by its type and name.</div></div>
<div class="ttc" id="agroup__misc_html_ga314903beeafedabe45f879637e7254b0"><div class="ttname"><a href="group__misc.html#ga314903beeafedabe45f879637e7254b0">libevdev_event_value_from_name</a></div><div class="ttdeci">int libevdev_event_value_from_name(unsigned int type, unsigned int code, const char *name)</div><div class="ttdoc">Look up an event value by its type, code and name.</div></div>
<div class="ttc" id="agroup__misc_html_ga37766a6a498fef3294d589abcce688bb"><div class="ttname"><a href="group__misc.html#ga37766a6a498fef3294d589abcce688bb">libevdev_event_is_code</a></div><div class="ttdeci">int libevdev_event_is_code(const struct input_event *ev, unsigned int type, unsigned int code)</div><div class="ttdoc">Helper function to check if an event is of a specific type and code.</div></div>
<div class="ttc" id="agroup__misc_html_ga4ee03d650200bb04a23233570667fa84"><div class="ttname"><a href="group__misc.html#ga4ee03d650200bb04a23233570667fa84">libevdev_event_type_from_name_n</a></div><div class="ttdeci">int libevdev_event_type_from_name_n(const char *name, size_t len)</div><div class="ttdoc">Look up an event-type by its name.</div></div>
<div class="ttc" id="agroup__misc_html_ga5bf9af4b8c372d87793e8a3c2dbeb466"><div class="ttname"><a href="group__misc.html#ga5bf9af4b8c372d87793e8a3c2dbeb466">libevdev_event_code_from_code_name_n</a></div><div class="ttdeci">int libevdev_event_code_from_code_name_n(const char *name, size_t len)</div><div class="ttdoc">Look up an event code by its name.</div></div>
<div class="ttc" id="agroup__misc_html_ga61ce3bf1e66bd172e583b86a11fc41f1"><div class="ttname"><a href="group__misc.html#ga61ce3bf1e66bd172e583b86a11fc41f1">libevdev_event_type_from_name</a></div><div class="ttdeci">int libevdev_event_type_from_name(const char *name)</div><div class="ttdoc">Look up an event-type by its name.</div></div>
<div class="ttc" id="agroup__misc_html_ga6620301a67f467489e4a7f93afe81621"><div class="ttname"><a href="group__misc.html#ga6620301a67f467489e4a7f93afe81621">libevdev_event_code_from_name</a></div><div class="ttdeci">int libevdev_event_code_from_name(unsigned int type, const char *name)</div><div class="ttdoc">Look up an event code by its type and name.</div></div>
<div class="ttc" id="agroup__misc_html_ga6f4418c98aa475a2fc34d58a197f7edd"><div class="ttname"><a href="group__misc.html#ga6f4418c98aa475a2fc34d58a197f7edd">libevdev_property_from_name</a></div><div class="ttdeci">int libevdev_property_from_name(const char *name)</div><div class="ttdoc">Look up an input property by its name.</div></div>
<div class="ttc" id="agroup__misc_html_gaaa0bc4c7d0d2aedc84c7dcffee9ce29b"><div class="ttname"><a href="group__misc.html#gaaa0bc4c7d0d2aedc84c7dcffee9ce29b">libevdev_property_from_name_n</a></div><div class="ttdeci">int libevdev_property_from_name_n(const char *name, size_t len)</div><div class="ttdoc">Look up an input property by its name.</div></div>
<div class="ttc" id="agroup__misc_html_gab214498fca7a328f8a712ce15bf21982"><div class="ttname"><a href="group__misc.html#gab214498fca7a328f8a712ce15bf21982">libevdev_event_type_from_code_name_n</a></div><div class="ttdeci">int libevdev_event_type_from_code_name_n(const char *name, size_t len)</div><div class="ttdoc">Look up an event type for a event code name.</div></div>
<div class="ttc" id="agroup__misc_html_gab407b3c2caaae502859c28460cad17bb"><div class="ttname"><a href="group__misc.html#gab407b3c2caaae502859c28460cad17bb">libevdev_event_code_get_name</a></div><div class="ttdeci">const char * libevdev_event_code_get_name(unsigned int type, unsigned int code)</div></div>
<div class="ttc" id="agroup__misc_html_gab8b6b80740e028261300b8952b61a596"><div class="ttname"><a href="group__misc.html#gab8b6b80740e028261300b8952b61a596">libevdev_event_is_type</a></div><div class="ttdeci">int libevdev_event_is_type(const struct input_event *ev, unsigned int type)</div><div class="ttdoc">Helper function to check if an event is of a specific type.</div></div>
<div class="ttc" id="agroup__misc_html_gabad00f68481d83747a134c0a37aca003"><div class="ttname"><a href="group__misc.html#gabad00f68481d83747a134c0a37aca003">libevdev_event_code_from_code_name</a></div><div class="ttdeci">int libevdev_event_code_from_code_name(const char *name)</div><div class="ttdoc">Look up an event code by its name.</div></div>
<div class="ttc" id="agroup__misc_html_gabcd45c5e963cba245e944ea66e72fcc3"><div class="ttname"><a href="group__misc.html#gabcd45c5e963cba245e944ea66e72fcc3">libevdev_event_value_get_name</a></div><div class="ttdeci">const char * libevdev_event_value_get_name(unsigned int type, unsigned int code, int value)</div><div class="ttdoc">This function resolves the event value for a code.</div></div>
<div class="ttc" id="agroup__misc_html_gabfad87ea78d034631cf3e5322ac383a1"><div class="ttname"><a href="group__misc.html#gabfad87ea78d034631cf3e5322ac383a1">libevdev_event_type_get_max</a></div><div class="ttdeci">int libevdev_event_type_get_max(unsigned int type)</div></div>
<div class="ttc" id="agroup__misc_html_gac99720fd926bf288764f9a81bf37ed09"><div class="ttname"><a href="group__misc.html#gac99720fd926bf288764f9a81bf37ed09">libevdev_event_type_get_name</a></div><div class="ttdeci">const char * libevdev_event_type_get_name(unsigned int type)</div></div>
<div class="ttc" id="agroup__misc_html_gacc12bdb7b912070ac9c375428f2c9892"><div class="ttname"><a href="group__misc.html#gacc12bdb7b912070ac9c375428f2c9892">libevdev_property_get_name</a></div><div class="ttdeci">const char * libevdev_property_get_name(unsigned int prop)</div></div>
<div class="ttc" id="agroup__misc_html_gadd41b7514cca16c8b8920f16e562e08a"><div class="ttname"><a href="group__misc.html#gadd41b7514cca16c8b8920f16e562e08a">libevdev_event_type_from_code_name</a></div><div class="ttdeci">int libevdev_event_type_from_code_name(const char *name)</div><div class="ttdoc">Look up an event type for a event code name.</div></div>
<div class="ttc" id="agroup__misc_html_gaebfc6b0ebb70169c9fec61620f1ea85f"><div class="ttname"><a href="group__misc.html#gaebfc6b0ebb70169c9fec61620f1ea85f">libevdev_event_value_from_name_n</a></div><div class="ttdeci">int libevdev_event_value_from_name_n(unsigned int type, unsigned int code, const char *name, size_t len)</div><div class="ttdoc">Look up an event value by its type, code and name.</div></div>
<div class="ttc" id="agroup__mt_html_ga8c6303391cb4f90b2d46763cf4eb8bc8"><div class="ttname"><a href="group__mt.html#ga8c6303391cb4f90b2d46763cf4eb8bc8">libevdev_get_slot_value</a></div><div class="ttdeci">int libevdev_get_slot_value(const struct libevdev *dev, unsigned int slot, unsigned int code)</div><div class="ttdoc">Return the current value of the code for the given slot.</div></div>
<div class="ttc" id="agroup__mt_html_gaca19dca5aa8f0ea3b210f3fc670384ec"><div class="ttname"><a href="group__mt.html#gaca19dca5aa8f0ea3b210f3fc670384ec">libevdev_fetch_slot_value</a></div><div class="ttdeci">int libevdev_fetch_slot_value(const struct libevdev *dev, unsigned int slot, unsigned int code, int *value)</div><div class="ttdoc">Fetch the current value of the code for the given slot.</div></div>
<div class="ttc" id="agroup__mt_html_gad22e2420be668b56ef486cde2e98c5dd"><div class="ttname"><a href="group__mt.html#gad22e2420be668b56ef486cde2e98c5dd">libevdev_get_current_slot</a></div><div class="ttdeci">int libevdev_get_current_slot(const struct libevdev *dev)</div><div class="ttdoc">Get the currently active slot.</div></div>
<div class="ttc" id="agroup__mt_html_gaf272526f0a59d2f61ef7389046cd4088"><div class="ttname"><a href="group__mt.html#gaf272526f0a59d2f61ef7389046cd4088">libevdev_get_num_slots</a></div><div class="ttdeci">int libevdev_get_num_slots(const struct libevdev *dev)</div><div class="ttdoc">Get the number of slots supported by this device.</div></div>
<div class="ttc" id="alibevdev_8h_html_a64a0f325e88e1be50eb806e1ff75aec8"><div class="ttname"><a href="libevdev_8h.html#a64a0f325e88e1be50eb806e1ff75aec8">LIBEVDEV_ATTRIBUTE_PRINTF</a></div><div class="ttdeci">#define LIBEVDEV_ATTRIBUTE_PRINTF(_format, _args)</div><div class="ttdef"><b>Definition:</b> libevdev.h:36</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- HTML footer for doxygen 1.8.8-->
<!-- start footer part -->
</div>
</div>
</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.9.1
</small></address>
</body>
</html>
